class CreatePatients < ActiveRecord::Migration
  def self.up
    create_table :patients do |t|
      t.column :first_name, :string, :limit => 50, :null => false
      t.column :last_name, :string, :limit => 50, :null => false
      t.column :birth_date, :date
      t.column :hospice_id, :integer, :null => false

      t.timestamps
    end
  end

  def self.down
    drop_table :patients
  end
end
